#!/bin/bash

cat <<< "here string"
cat <<- EOF_key
    this is a
    here document.
EOF_key
cat </proc/uptime
cat 0</proc/uptime

echo 1 >/dev/null
echo 2 1>/dev/null
echo 3 1>/dev/null 2>&1

echo 4 >/tmp/file
echo 5 | tee /tmp/file
echo 6 2>&1 | tee /tmp/file
echo 7 1>&2

echo 8 >>/tmp/file
echo 9 | tee -a /tmp/file
